package org.baeta.services;

import org.baeta.model.GeoName;
import org.baeta.model.WeatherObservation;

/**
 * Description
 *
 * @author <a href="mailto:rui.baeta@gmail.com">Rui Baeta</a>
 */
public class CountryInfo
{
    private GeoName geoName;
    private WeatherObservation weatherObservation;

    public CountryInfo()
    {
    }

    public CountryInfo(GeoName geoName, WeatherObservation weatherObservation)
    {
        this.geoName = geoName;
        this.weatherObservation = weatherObservation;
    }

    public GeoName getGeoName()
    {
        return geoName;
    }

    public void setGeoName(GeoName geoName)
    {
        this.geoName = geoName;
    }

    public WeatherObservation getWeatherObservation()
    {
        return weatherObservation;
    }

    public void setWeatherObservation(WeatherObservation weatherObservation)
    {
        this.weatherObservation = weatherObservation;
    }

    @Override
    public String toString()
    {
        return String.format("CountryInfo{geoName=%s, weatherObservation=%s}",
                             geoName, weatherObservation);
    }
}
